package com.github.wxiaoqi.security.config;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;


@EnableAutoConfiguration
@EnableEurekaClient
@EnableConfigServer
public class ConfigServerBootstrap {

    private final static Logger logger = LoggerFactory.getLogger(ConfigServerBootstrap.class);

    public static void main(String[] args) {
        SpringApplication.run(ConfigServerBootstrap.class, args);
        logger.info("艾特米服务注册中心启动成功!");
    }
}
